﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FieldDevice.ModBus
{
    public class ModBusFunction
    {

        public const byte READCOILSTATUS = 01;          //读取线圈状态
        public const byte READINPUTSTATUS = 02;         //读取输入状态
        public const byte READHOLDINGREGISTER = 03;         //读取保持寄存器 
        public const byte READINPUTREGISTER = 04;            //读取输入寄存器
        //public const byte WRITESINGLECOIL = 05;         // 强制单个线圈 
        //public const byte WRITESINGLEREGISTER = 06;         //预置单个寄存器

    }
}
